package cn.yll.gateway;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 商城网关服务
 * @author yangll
 */
@Slf4j
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan({"springfox.documentation.schema"})
public class GatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
        log.info("===============================================");
        log.info("==============商城gateway项目启动成功=============");
        log.info("===============================================");
    }
}
